package com.alliky.user.mvp.presenter;

import com.alliky.core.base.BasePresenter;
import com.alliky.user.mvp.contract.PersonCenterContract;
import com.alliky.user.mvp.contract.SettingContract;
import com.alliky.user.mvp.model.PersonCenterModel;
import com.alliky.user.mvp.model.SettingModel;

import io.reactivex.disposables.Disposable;

public class SettingPresenter extends BasePresenter<SettingModel, SettingContract.View> implements SettingContract.Presenter {

    public SettingPresenter(SettingContract.View view) {
        super(view);
    }

    @Override
    protected SettingModel createModel() {
        return new SettingModel();
    }

    @Override
    public void accept(Disposable disposable) throws Exception {
        addSubscribe(disposable);
    }

}
